﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Net_SCADA
{
    public partial class ZoneData : UserControl
    {
        public event EventHandler CheckSelect;
        public event EventHandler ColorSelect;
        public ZoneData()
        {
            InitializeComponent();
        }

        private void chk_ShowItem_Click(object sender, EventArgs e)
        {
            if(CheckSelect != null) CheckSelect(sender, e);
        }

        private void lbl_Color_Click(object sender, EventArgs e)
        {
            if (ColorSelect != null) ColorSelect(sender, e);
        }
    }
}
